package com.example.examapp.service;

import com.example.examapp.enums.QuestionType;
import com.example.examapp.model.Question;
import org.lzx.base.service.BaseService;

import java.util.List;

/**
 * @version v1.0
 * @package com.example.examapp.service
 * @data 2022/12/4 11:01
 */
public interface QuestionService extends BaseService<Question> {
    List<Question> findByType(QuestionType type);

    Question getById(String id);
}
